﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">添加商家</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
            <li><a href="index.php?app=seller&act=index"  target="mainframe">商家列表</a></li>
				<li class="current"><a href="#" >添加商家</a></li>				
						
			
			
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


	<form action="?app=seller&act=addpost" method="post"   enctype="multipart/form-data">
<table  class="data" >
<tbody>
             <tr >
	              <td>对应商家用户:</td>
	              <td>
	               <input type='text' name='data[username]' size='50' value=''>
	              </td>
             </tr>                                   
             <tr >
				<td width="30%">所在区域:</td>
	            <td>
                                         <select name="data[area]" >
                                           <option value='0'>请选择地区...</option>
                                           
                                           <!--{foreach($citydata as $_key => $_value )}-->
                                           
				<option value="{$_value.id}">{$_value.str_pad}{$_value.name}</option>
                
                                            <!--{/foreach}-->
                                           </select>



                </td>
             </tr>
             <tr >
	             <td>商家名称<font color=red>(必填)</font>:</td>
	             <td>
	             	<input type='text' name='data[sellername]' size='50' value=''>
                 </td>
             </tr>
                 <tr >
					<td width="30%">商家品牌图:</td>
	                 <td>
                      <input id="postfile1" type="file" name="postfile1" style="height:20px;"  class="buton">  
    <br/> <br/>

     <img src="{SITE_URL}/data/images/no_photo.gif" onerror="this.src='{SITE_URL}/data/images/no_photo.gif'"  width="110" height="60" />     


                     </td>
                 </tr>                
             
             <tr >
	             <td>商家地址:</td>
				<td><input type='text' name='data[selleraddress]' size='50' value=''></td>
             </tr>
             <tr >
	             <td>商家电话:</td>
	             <td>
	                 <input type='text' name='data[sellerphone]' size='30' value=''>
	             </td>
             </tr>
             <tr >
	             <td>商家网址:</td>
	             <td>
	             	<input type='text' name='data[sellerurl]' size='50' value=''>
	             </td>
             </tr>
             <tr >
	             <td>&nbsp;</td>
	             <td><input type="submit" class="buton" value=" 提 交 " /></td>
             </tr>
</tbody></table>
    </form>	
	
	
	
	
	

        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->